package ${filePackageName};

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 文件参数
 * @author ${projectAuthor}
 * @version 1.0
 * @date ${nowDate}
 */
@ApiModel(value = "文件参数",description = "文件参数")
public class FilePart {

    @ApiModelProperty(value = "参数key")
    private String fieldName;

    @ApiModelProperty(value = "文件大小")
    private long size;

    @ApiModelProperty(value = "文件类型")
    private String contentType;

    @ApiModelProperty(value = "原文件名")
    private String originFileName;

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getOriginFileName() {
        return originFileName;
    }

    public void setOriginFileName(String originFileName) {
        this.originFileName = originFileName;
    }
}